package com.maimao.model.goods.vo;

import com.maimao.model.goods.Comment;
import com.maimao.model.goods.GoodsSku;
import lombok.*;

import java.math.BigDecimal;

/**
 * 单个评论信息 http://localhost:9998/comment-pub 当前评论和该评论的所有回复 以及该评论对应的sku商品信息
 *
 * @author MaoLin Wang
 * @date 2021/1/29 5:21 下午
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class CommentSingle extends Comment {

    private GoodsSku goodsSku;
    private Long commentNum;


    @Override
    public String toString() {
        return "CommentSingle{" +
                "goodsSku='" + goodsSku + '\'' +
                ", commentNum=" + commentNum +
                '}';
    }
}
